package com.yanghang.service.impl;

import com.yanghang.dao.StateDao;
import com.yanghang.entity.State;
import com.yanghang.service.StateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StateServiceImpl implements StateService {
    @Autowired
    private StateDao sd;
    @Override
    public List<State> selectAllState() {
        return sd.selectAllState();
    }
}
